package com.casic.dao;

import com.casic.entity.IotData;
import com.casic.entity.IotOee;
import com.casic.entity.vo.DeviceStateStatisticsVo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.repository.Aggregation;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.mongodb.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author xudezhi
 * @title: MongoDao
 * @projectName iot-platform
 * @description: MongoDao
 * @date 2021/4/1210:23:15
 */
@Repository
public interface OEEMongoDao extends MongoRepository<IotOee,String> {


    IotOee findByEquipmentAndDate(String equipment, String date);
}
